]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Fix subkeys handling
authorRui Matos <tiagomatos@gmail.com>
Sat, 10 Nov 2012 21:47:57 +0000 (22:47 +0100)
committerRui Matos <tiagomatos@gmail.com>
Fri, 4 Jan 2013 13:13:00 +0000 (13:13 +0000)
commitc33622f2b36a6170fa98b8b69f7e003cf2ea4e80
treef72c4f433a177fc9e1cbee4681ef4c6e543be115
parente4860acb5815d245c00554367d6ffcd18a7523b7
keyboard: Fix subkeys handling

We can't pushModal() when showing the subkeys popup because that will
cause the application to lose focus and thus we get a Hide() call for
the whole OSK.

Instead, capture events on the main OSK actor while the subkeys popup
is shown so that we can both prevent events from reaching the main
keys but also cancel the subkeys if the user clicks away in the OSK.

https://bugzilla.gnome.org/show_bug.cgi?id=674955
js/ui/keyboard.js